<!DOCTYPE html>
<html lang="en"> 
  <head>
    <meta charset="utf-8" />
    <title><?php echo $title?></title>
    <meta name="author" content="Srinu Basava" />
    <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport" />
    <meta name="description" content="Moon Light Admin Admin UI" />
    <meta name="keywords" content="Moon Light Admin, Admin UI, Admin Dashboard, Srinu Basava" />
    <link href="<?php echo base_url(); ?>assets/icomoon/style.css" rel="stylesheet" />
    <link href="<?php echo base_url(); ?>assets/css/main.css" rel="stylesheet" />
    <link href="<?php echo base_url(); ?>assets/css/fullcalendar.css" rel="stylesheet" />
    <?php 
    foreach($css_files as $file): ?>
        <link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" />
    <?php endforeach; ?>
    <?php foreach($js_files as $file): ?>
         <script src="<?php echo $file; ?>"></script>
    <?php endforeach; ?>
    <?php if($sub_content=='pagos'){ ?>
                <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>assets/grocery_crud/themes/datatables/css/demo_table_jui.css" />
                <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>assets/grocery_crud/css/ui/simple/jquery-ui-1.10.1.custom.min.css" />
                <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>assets/grocery_crud/themes/datatables/css/datatables.css" />
                <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>assets/grocery_crud/themes/datatables/css/jquery.dataTables.css" />
                <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>assets/grocery_crud/themes/datatables/extras/TableTools/media/css/TableTools.css" />
                <link type="text/css" rel="stylesheet" href="<?php echo base_url();?>assets/grocery_crud/css/jquery_plugins/fancybox/jquery.fancybox.css" />
                <script language="JavaScript" src="<?php echo base_url();?>assets/grocery_crud/js/jquery-1.10.2.min.js"></script>
		<script language="JavaScript" src="<?php echo base_url();?>assets/scriptwebcam/swfobject.js"></script>
		<script language="JavaScript" src="<?php echo base_url();?>assets/scriptwebcam/scriptcam.js"></script>
		<script language="JavaScript" src="<?php echo base_url();?>assets/scriptwebcam/costumize_webcam.js"></script>
    <?php }?>
    <script language="JavaScript" src="<?php echo base_url();?>assets/theme_js/bootstrap.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  <body>
    <header>
      <a href='<?php echo base_url(); ?>index.php/admin_controller/' class="logo">Acueducto Gabriel Lopez</a>
      <div id="mini-nav">
        <ul class="hidden-phone">
          <li><a href="<?php echo base_url(); ?>index.php/login_controller/closeSession">Cerrar sesion</a></li>
        </ul>
      </div>
    </header>